﻿using System;

namespace SQLPXBase.Factory.AutoLogging
{
    public class Attributes
    {
        [System.AttributeUsage(AttributeTargets.Class)]
        public class AutoLogClassAttribute : Attribute
        {
        }

        [System.AttributeUsage(System.AttributeTargets.Property)]
        public class DoNotLogAttribute : System.Attribute
        {
        }

        [System.AttributeUsage(System.AttributeTargets.Property)]
        public class LogRefersTo : Attribute
        {
            public Type RefersToType { get; private set; }

            public LogRefersTo(Type type)
            {
                RefersToType = type;
            }
        }
    }
}
